package com.itheima.blog.admin.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mm
 * @since 2023-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("operation_log_table")
@ApiModel(value="OperationLogTable对象", description="")
public class OperationLogTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "访问所属用户名称")
    private String userName;

    @ApiModelProperty(value = "访问时间")
    private LocalDateTime time;

    @ApiModelProperty(value = "访问接口")
    private String accessInterface;

    @ApiModelProperty(value = "访问ip地址")
    private String ip;

    @ApiModelProperty(value = "访问省")
    private String economize;

    @ApiModelProperty(value = "访问市")
    private String market;

    @ApiModelProperty(value = "访问耗时")
    private Long timeConsuming;

    @ApiModelProperty(value = "运营商")
    private String operator;

    @ApiModelProperty(value = "访问国家")
    private String kingdom;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime creationTime;

    @ApiModelProperty(value = "状态")
    private String state;

    @ApiModelProperty(value = "请求方式")
    private String requestMethod;

    private String interfaceName;


}
